﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TAProject.UI.Service.Tour
{
    public partial class FormBazaOtdihaEdit : FormTemplate
    {
        private readonly Form _parentForm;

        public FormBazaOtdihaEdit(Form parentForm):base(parentForm)
        {
            InitializeComponent();

            _parentForm = parentForm;

            _parentForm.Enabled = false;
        }

        public FormBazaOtdihaEdit()
        {
            InitializeComponent();
        }

        private void ButtonCancelClick(object sender, EventArgs e)
        {
            _parentForm.Enabled = true;
            Close();
        }
    }
}
